﻿<%@ page contentType="text/html; charset=utf-8" language="java"
	errorPage=""%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<html>
	<head>
		<TITLE>图片列表</TITLE>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<LINK href="./jsp/manage/css/style.css" type=text/css rel=stylesheet>
		<style type="text/css" media="all">
@import "./jsp/manage/css/global.css";

@import "./jsp/manage/thickbox-code/thickbox.css";
</style>
		<link rel="stylesheet" id='skin' type="text/css" href="./jsp/manage/css/ymPrompt.css" />
		<script src="./jsp/manage/js/jquery-compressed.js" type="text/javascript"></script>


		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 5px;
}
-->
</style>
	</head>
	<body>
		<div id="content">
			<TABLE class=border cellSpacing=1 cellPadding=2 width="100%"
				align=center border=0>
				<TBODY>
					<TR class=topbg>
						<TD align=middle colSpan=2 height=22>
							<STRONG>图片管理</STRONG>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="data">
				<tr>
					<th width="20%" align="center" nowrap="nowrap">
						名称/链接
					</th>
					<th width="70%" align="center" nowrap="nowrap">
						图片
					</th>
					<th width="10%" align="center" nowrap="nowrap">
						操作
					</th>
				</tr>
				<c:forEach items="${imageVOList}" var="picture">
					<tr>
						<td colspan="1" align="left" nowrap="nowrap">
							${picture.name}
							<br>
							${picture.link}
						</td>
						<td colspan="1" align="left" nowrap="nowrap">
							<img src="${picPath}${picture}" width="300" height="200" href="${picture.link}" />
						</td>
						<td align="center" nowrap="nowrap">
							<a href="<%=request.getContextPath()%>/imagesManage.do?method=imagesdel&pic=${picture.name}"
								onClick="return confirm('您确定要删除${picture.name} ？');">删除</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</body>
</html>
